package com.bootdo.system.service.impl;

import com.bootdo.common.utils.Query;
import com.bootdo.system.domain.TbWxUserMeeting;
import com.bootdo.system.domain.WithdrawDO;
import com.bootdo.system.mapper.TbWxUserMeetingMapper;
import com.bootdo.system.service.MeetingService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;
import java.util.Map;

/**
 * @author huangyalou
 * @date 2021/2/7 19:40
 * @desc
 */
@Service
@Transactional(readOnly = true,rollbackFor = Exception.class)
public class MeetingServiceImpl implements MeetingService  {

    @Autowired
    private TbWxUserMeetingMapper userMeetingMapper;


    @Override
    public List<TbWxUserMeeting> list(Query query) {
        return userMeetingMapper.list(query);
    }

    @Override
    public int count(Query query) {
        return userMeetingMapper.count(query);
    }
}
